package com.yzion.demo_coollist;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewpager.widget.ViewPager;

import com.google.android.material.appbar.AppBarLayout;
import com.google.android.material.appbar.CollapsingToolbarLayout;
import com.yzion.baseapp.R;
import com.yzion.baselib.fragment.BaseFragment;

/**
 * 交互样式1
 */
public class FoxHomeFragment extends BaseFragment {

    private ViewPager mOverlapPager;
    private View mBarBg;
    private ImageView mIvSearchIcon;
    private TextView mTvSearch;
    private LinearLayout mSearchBar;
    private ImageView mImgSearch;
    private ImageView mTvEnterRanklist;
    private ImageView mTvEnterMyRoom;
    private ImageView mImgChange;
    private CollapsingToolbarLayout mLayoutCollapsing;
    private RecyclerView mRvTab;
    private AppBarLayout mLayoutAppBarLayout;
    private ViewPager mViewPager;

    @Override
    protected View setContentView(@NonNull LayoutInflater inflater, @Nullable Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fox_home_fragment, null);
    }

    @Override
    protected void initView() {

        mOverlapPager = findViewById(R.id.overlap_pager);
        mBarBg = findViewById(R.id.bar_bg);
        mIvSearchIcon = findViewById(R.id.iv_search_icon);
        mTvSearch = findViewById(R.id.tv_search);
        mSearchBar = findViewById(R.id.search_bar);
        mImgSearch = findViewById(R.id.img_search);
        mTvEnterRanklist = findViewById(R.id.tv_enter_ranklist);
        mTvEnterMyRoom = findViewById(R.id.tv_enter_my_room);
        mImgChange = findViewById(R.id.img_change);
        mLayoutCollapsing = findViewById(R.id.layout_collapsing);
        mRvTab = findViewById(R.id.rv_tab);
        mLayoutAppBarLayout = findViewById(R.id.layout_app_bar_layout);
        mViewPager = findViewById(R.id.viewPager);
    }

    @Override
    public void initData() {

    }
}
